[INFO] cloning repository https://github.com/NaniNoni/rust-cas
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NaniNoni/rust-cas" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNaniNoni%2Frust-cas", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNaniNoni%2Frust-cas'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 796a866cd0aaf946b834ead8efd6d11f7f25c632
[INFO] fixing NaniNoni/rust-cas against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNaniNoni%2Frust-cas" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/NaniNoni/rust-cas
[INFO] finished tweaking git repo https://github.com/NaniNoni/rust-cas
[INFO] tweaked toml for git repo https://github.com/NaniNoni/rust-cas written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/NaniNoni/rust-cas on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/NaniNoni/rust-cas already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 77a1e9647fe03ae643b539257e985d7b6f5d6242cc64d5b9317319b7e92a008e
[INFO] running `Command { std: "docker" "start" "77a1e9647fe03ae643b539257e985d7b6f5d6242cc64d5b9317319b7e92a008e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "77a1e9647fe03ae643b539257e985d7b6f5d6242cc64d5b9317319b7e92a008e" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "77a1e9647fe03ae643b539257e985d7b6f5d6242cc64d5b9317319b7e92a008e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "77a1e9647fe03ae643b539257e985d7b6f5d6242cc64d5b9317319b7e92a008e" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-cas v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0599]: no method named `subtract` found for enum `Expr` in the current scope
[INFO] [stdout]   --> src/main.rs:61:22
[INFO] [stdout]    |
[INFO] [stdout]  5 | enum Expr {
[INFO] [stdout]    | --------- method `subtract` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 61 |             real: ac.subtract(&bd),
[INFO] [stdout]    |                      ^^^^^^^^ method not found in `Expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `subtract` found for enum `Expr` in the current scope
[INFO] [stdout]   --> src/main.rs:61:22
[INFO] [stdout]    |
[INFO] [stdout]  5 | enum Expr {
[INFO] [stdout]    | --------- method `subtract` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 61 |             real: ac.subtract(&bd),
[INFO] [stdout]    |                      ^^^^^^^^ method not found in `Expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `add` found for enum `Expr` in the current scope
[INFO] [stdout]   --> src/main.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout]  5 | enum Expr {
[INFO] [stdout]    | --------- method `add` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 62 |             imag: ad.add(&bc),
[INFO] [stdout]    |                      ^^^ method not found in `Expr`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `add`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Add`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `add` found for enum `Expr` in the current scope
[INFO] [stdout]   --> src/main.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout]  5 | enum Expr {
[INFO] [stdout]    | --------- method `add` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 62 |             imag: ad.add(&bc),
[INFO] [stdout]    |                      ^^^ method not found in `Expr`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `add`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Add`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:237:17
[INFO] [stdout]     |
[INFO] [stdout] 233 |     fn divide(&self, other: &Self) -> Expr {
[INFO] [stdout]     |                                       ---- expected `Expr` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 237 |                 Real::rational(a * d, b * c)
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Expr`, found `Real`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:237:17
[INFO] [stdout]     |
[INFO] [stdout] 233 |     fn divide(&self, other: &Self) -> Expr {
[INFO] [stdout]     |                                       ---- expected `Expr` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 237 |                 Real::rational(a * d, b * c)
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Expr`, found `Real`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0170]: pattern binding `PI` is named the same as one of the variants of the type `IrrationalKind`
[INFO] [stdout]   --> src/main.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |             PI => "pi".to_string(),
[INFO] [stdout]    |             ^^ help: to match on the variant, qualify the path: `IrrationalKind::PI`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(bindings_with_variant_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0170]: pattern binding `E` is named the same as one of the variants of the type `IrrationalKind`
[INFO] [stdout]   --> src/main.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |             E => "e".to_string(),
[INFO] [stdout]    |             ^ help: to match on the variant, qualify the path: `IrrationalKind::E`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/main.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |             PI => "pi".to_string(),
[INFO] [stdout]    |             -- matches any value
[INFO] [stdout] 86 |             E => "e".to_string(),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0170]: pattern binding `PI` is named the same as one of the variants of the type `IrrationalKind`
[INFO] [stdout]   --> src/main.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |             PI => "pi".to_string(),
[INFO] [stdout]    |             ^^ help: to match on the variant, qualify the path: `IrrationalKind::PI`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(bindings_with_variant_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0170]: pattern binding `E` is named the same as one of the variants of the type `IrrationalKind`
[INFO] [stdout]   --> src/main.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |             E => "e".to_string(),
[INFO] [stdout]    |             ^ help: to match on the variant, qualify the path: `IrrationalKind::E`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `PI`
[INFO] [stdout]   --> src/main.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |             PI => "pi".to_string(),
[INFO] [stdout]    |             ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `PI`
[INFO] [stdout]    |
[INFO] [stdout] 85 |             IrrationalKind::PI => "pi".to_string(),
[INFO] [stdout]    |             ++++++++++++++++
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 85 |             _PI => "pi".to_string(),
[INFO] [stdout]    |             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/main.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |             PI => "pi".to_string(),
[INFO] [stdout]    |             -- matches any value
[INFO] [stdout] 86 |             E => "e".to_string(),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `PI`
[INFO] [stdout]   --> src/main.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |             PI => "pi".to_string(),
[INFO] [stdout]    |             ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `PI`
[INFO] [stdout]    |
[INFO] [stdout] 85 |             IrrationalKind::PI => "pi".to_string(),
[INFO] [stdout]    |             ++++++++++++++++
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 85 |             _PI => "pi".to_string(),
[INFO] [stdout]    |             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `E`
[INFO] [stdout]   --> src/main.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |             E => "e".to_string(),
[INFO] [stdout]    |             ^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `E`
[INFO] [stdout]    |
[INFO] [stdout] 86 |             IrrationalKind::E => "e".to_string(),
[INFO] [stdout]    |             ++++++++++++++++
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 86 |             _E => "e".to_string(),
[INFO] [stdout]    |             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `E`
[INFO] [stdout]   --> src/main.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |             E => "e".to_string(),
[INFO] [stdout]    |             ^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `E`
[INFO] [stdout]    |
[INFO] [stdout] 86 |             IrrationalKind::E => "e".to_string(),
[INFO] [stdout]    |             ++++++++++++++++
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 86 |             _E => "e".to_string(),
[INFO] [stdout]    |             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]    --> src/main.rs:192:24
[INFO] [stdout]     |
[INFO] [stdout] 192 |     fn subtract(&self, other: &Self) -> Expr {
[INFO] [stdout]     |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]    --> src/main.rs:192:24
[INFO] [stdout]     |
[INFO] [stdout] 192 |     fn subtract(&self, other: &Self) -> Expr {
[INFO] [stdout]     |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0170, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0170`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0170, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0170`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-cas` (bin "rust-cas" test) due to 5 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust-cas` (bin "rust-cas") due to 5 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "77a1e9647fe03ae643b539257e985d7b6f5d6242cc64d5b9317319b7e92a008e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "77a1e9647fe03ae643b539257e985d7b6f5d6242cc64d5b9317319b7e92a008e", kill_on_drop: false }`
[INFO] [stdout] 77a1e9647fe03ae643b539257e985d7b6f5d6242cc64d5b9317319b7e92a008e
